package com.shangxian.giveithome.service;


import com.shangxian.giveithome.entity.AsylumCreate;
import com.shangxian.giveithome.entity.AsylumDetails;
import com.shangxian.giveithome.entity.AsylumStatus;
import com.shangxian.giveithome.entity.AsylumUpdate;
import com.shangxian.giveithome.entity.AsylumScreen;
import com.shangxian.giveithome.entity.PageableDetails;
import org.springframework.stereotype.Service;

@Service
public interface AsylumService {
    AsylumDetails queryByAsylumDetails(Long id);

    PageableDetails queryByMechId(AsylumScreen asylumScreen, Integer pageNum, Integer pageSize);

    void create(AsylumCreate asylumCreate);

    void update(AsylumUpdate asylumUpdate);

    void delete(Long id, Long aLong);

    void updateStatus(AsylumStatus asylumStatus);
}
